﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CampusTrade.Pojo
{
    [SugarTable("user")]
    public class User
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        [SugarColumn(ColumnName = "work_number")]
        public long WorkNumber { get; set; }
        [SugarColumn(ColumnName = "phone_number")]
        public long PhoneNumber { get; set; }
        [SugarColumn(ColumnName = "qq_number")]
        public long QqNumber { get; set; }
        [SugarColumn(ColumnName = "openid")]
        public string OpenId { get; set; }
        [SugarColumn(ColumnName = "avatar")]
        public string Avatar { get; set; }
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }
        [SugarColumn(ColumnName = "admin")]
        public bool isAdmin { get; set; }
    }
}
